package com.rentplant.service;

import com.alibaba.fastjson.JSONObject;
import com.rentplant.Pojo.afterservice;
import com.rentplant.Pojo.serviceandorderanditem;

import java.util.List;

public interface afterServiceService {


    //查找用户售后服务订单
    public List<serviceandorderanditem> afterService(JSONObject serviceinfo);

    //提交售后申请
    public boolean addAfterService(JSONObject serviceinfo);

    //查询该订单是否有售后申请
    public  List<afterservice> selectAfterService(JSONObject serviceinfo);




    //    申请管理
//    查询全部申请并分页
    public List<afterservice> allApply(JSONObject pageinfo);

    //    查询全部申请
    public List<afterservice> allApplys();


    //    不同意售后申请
    public boolean refuseApply(JSONObject applyinfo);

    //    按条件查找
    public List<afterservice> searchAfter(JSONObject searchinfo);
    //    按条件查找
    public List<afterservice> searchAfters(JSONObject searchinfo);
}
